package com.ps.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author ${author}
 * @since 2020-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ps_role_premission")
public class RolePremission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色Id  外键ps_role id
     */
    @TableField("roleId")
    private Integer roleid;

    /**
     * 功能Id  外键ps_premission id
     */
    @TableField("permId")
    private Integer permid;

    /**
     * 创建时间
     */
    @TableField("creationTime")
    private Date creationtime;

    /**
     * 创建人
     */
    @TableField("createdBy")
    private String createdby;

    /**
     * 修改时间
     */
    @TableField("lastUpdateTime")
    private Date lastupdatetime;

    /**
     * 1为启用0为不启用
     */
    @TableField("isStart")
    private Integer isstart;


}
